<script src="data.js"></script>
<script>
(function(){
try{
function guv/*getUrlValue*/(name) {
        var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
        var r = window.location.search.substr(1).match(reg);
        if (r != null) {
            try {
                return decodeURIComponent(r[2]);
            } catch (e) {
                return null;
            }
        }
        return null;
    }
var a=urldata;
document.documentElement.innerHTML="Please wait...";
for(let i=0;i<a.length;i++){
  if(typeof(a[i].function)=="function"){
    let c=a[i].function();
    if(c=="break") break; 
  }
  if(!(new RegExp("#").test(location.href)||new RegExp("?").test(
  location.href))) break;if(!(guv("id")||guv("to")||guv("name"))){
    if(!location.href.split("#")[1]) break;
  }
  let b=a[i].name;
  if(new RegExp(guv("id"),a[i].regexp).test(b)||
  new RegExp(guv("to"),a[i].regexp).test(b)||
  new RegExp(guv("name"),a[i].regexp).test(b)){
    location.href=a[i].url;
    return;
  }
  if(new RegExp(location.href.split("#")[1],a[i].regexp).test(b)){
    location.href=a[i].url;
    return;
  }
}
document.documentElement.innerHTML=`404`
}catch(e){
document.documentElement.innerHTML=
"An error has occurred.Please contact technical support personnel."+
"<br>Error message: "+e;
}
})()
</script>
